<template>
	<view class="wap">
		<navbar :parameter='parameter'></navbar>
		<view class="box">
			<view class="line acea-row">
				<text>实名认证</text>
				<view class="cont">
					{{details.true_name}}
				</view>
			</view>
			<view class="line acea-row">
				<text>从业时长</text>
				<view class="cont">
					{{details.work_year}}年
				</view>
			</view>
			<view class="line acea-row">
				<text>医学背景</text>
				<view class="cont">
					{{details.medical_background}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				parameter: {
					'navbar': '1',
					'return': '1',
					'title': '我的资质',
					'color': true,
					'class': 'on'
				},
				details: {
					true_name: '',
					work_year: '',
					medical_background: '',
				}
			};
		},
		onLoad(option) {
			this.details.true_name = option.true_name;
			this.details.work_year = option.work_year;
			this.details.medical_background = option.medical_background;
		},
		onShow() {

		},

		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.wap {
		padding: 20rpx;
	}

	.box {
		width: 100%;
		padding: 0 20rpx;
		background-color: #fff;
		border-radius: 20rpx;
	}

	.line {
		font-size: 28rpx;
		border-bottom: 1px solid #D9D9DA;
		padding: 34rpx 0;
	}

	.line:last-of-type {
		border-bottom: none;
	}

	.line text {
		color: #666666;
		width: 200rpx;
	}

	.line .cont {
		flex: 1;
		line-height: 1.7;
	}
</style>
